{* 
//////
//    @version [ Nightly Build ]
//    @package hwdVideoShare
//    @copyright (C) 2007 - 2009 Highwood Design
//    @license http://creativecommons.org/licenses/by-nc-nd/3.0/
//////
*}

{include file='header.tpl'}
	
	<div id="player-content">
		<h1 class="componentheading" style="padding: 9px 0 9px 30px;">
			<span><span>
			{$videoplayer->title} {$videoplayer->editvideo} {$videoplayer->deletevideo} {$videoplayer->publishvideo} {$videoplayer->approvevideo}
				</span></span>
		</h1>
		<div class="standard">
		  <!--<h2>{$videoplayer->title} {$videoplayer->editvideo} {$videoplayer->deletevideo} {$videoplayer->publishvideo} {$videoplayer->approvevideo}</h2>-->
		  <div style="padding:5px 0"><center>{$videoplayer->player}<div class="note">If you do not see the movie, use the Firefox browser to get the most effective. Get Firefox <a href="http://www.mozilla.org/en-US/products/download.html" target="_blank"> here</a></div></center></div>
		</div>
	    
		<div class="standard">
		  <div class="padding">
		  
			{include file='video_details.tpl'}			
		  </div>
		</div>
	</div>	
    {literal}
	<script language="javascript">
		//jQuery(document).ready(function(){
			if(jQuery('#player-content').size()){
				jQuery('#player-holder').html(jQuery('#player-content').html());
				jQuery('#player-holder').find('.standard:first').addClass('noborder');
				jQuery('#player-holder').attr('id','hwdvids');
				jQuery('#player-content').remove();				
			}			
		//});
	</script>
	{/literal}
    
    {if $print_relatedlist}
    <div class="standard">
      <h2 class='can-replace'>{$smarty.const._HWDVIDS_RELATED}</h2>
      {literal}
		<script language="javascript">
		//jQuery('document').ready(function(){
			if(jQuery('h2.can-replace').size()){
				jQuery('span.title-replace').html(jQuery('h2.can-replace').text());
				jQuery('h2.can-replace').remove();
			}
		//});
		</script>
      {/literal}
      <div class="scoller">
      <div class="list">
        <div class="box">
          {foreach name=outer item=data from=$listrelated}
	  {include file="video_list.tpl"}
	  <div style="clear:both;"></div>
          {/foreach}
        </div>
      </div>  
      </div>
    </div>
    {/if}

    {if $print_categoryvideolist}
    <div class="standard">
      <h2>{$smarty.const._HWDVIDS_MORECATVIDS}</h2>
      <div class="scoller">
      <div class="list">
        <div class="box">
          {foreach name=outer item=data from=$categoryvideolist}
	  {include file="video_list_small.tpl"}
	  <div style="clear:both;"></div>
          {/foreach}
        </div>
      </div>  
      </div>
    </div>
    {/if}
    {if $print_uservideolist}
    <div class="standard">
      <h2>{$smarty.const._HWDVIDS_TITLE_MOREBYUSR} {$videoplayer->uploader}</h2>
      <div class="scoller">
      <div class="list">
        <div class="box">
          {foreach name=outer item=data from=$userlist}
	  {include file="video_list_small.tpl"}
	  <div style="clear:both;"></div>
          {/foreach}
        </div>
      </div>  
      </div>
    </div>
    {/if}

<div style="clear:both;"></div>
{if $print_comments}
    <div class="standard">
      <h2>{$smarty.const._HWDVIDS_TITLE_VIDCOMMS}</h2>
      {$videoplayer->comments}
    </div>
{/if} 
<div style="clear:both;"></div>

{include file='footer.tpl'}
